-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fail insert when primary vindex cannot be mapped to a shard #15500
Conversation
Signed-off-by: Harshit Gangal <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #15500 +/- ##
=======================================
Coverage 65.65% 65.66%
=======================================
Files 1563 1563
Lines 194414 194422 +8
=======================================
+ Hits 127640 127658 +18
+ Misses 66774 66764 -10 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Should this be backported? |
…#15500) Signed-off-by: Harshit Gangal <[email protected]>
…shard (#15500) (#15573) Signed-off-by: Harshit Gangal <[email protected]> Co-authored-by: Harshit Gangal <[email protected]>
Description
This PR fails the
insert ignore
orinsert on duplicate key
query when the row cannot be mapped to a shard.Earlier we used to ignore the row and continue but that confuses the users as not mapping a row to a shard is a non-ignorable error.
Related Issue(s)
Checklist